import hashlib

def calculate_file_hash(file_path):
    hash_func = getattr(hashlib, "md5")()
    with open(file_path, "rb") as f:
        while chunk := f.read(8192):
            hash_func.update(chunk)
    return hash_func.hexdigest()

if __name__ == "__main__":
    md5 = calculate_file_hash("./lite_review/Efficient_Model_Architecture_and_Training_Techniques：_A_Comprehensive_Review_2025-03-06_17-07-09.md")
    print(md5)